package com.tansuo365.test1.service.excelservice.excelimpl;

import com.tansuo365.test1.bean.InfoData;
import com.tansuo365.test1.bean.otherbean.DProject;
import com.tansuo365.test1.mapper.othermapper.DProjectMapper;
import com.tansuo365.test1.service.excelservice.ProjectExcelService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class ProjectExcelServiceImpl implements ProjectExcelService {

    @Resource
    private DProjectMapper dProjectMapper;

    @Override
    public List<InfoData> selectInfoDataByTypeId(Integer w_id, Integer o_id) {
        return null;
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int deleteBatchByPKArr(Integer[] ids) {
        return 0;
    }

    @Override
    public int insert(DProject dProject) {
        return 0;
    }

    @Override
    public int insertSelective(DProject dProject) {
        return 0;
    }

    @Override
    public int insertBatch(List<DProject> list) {
        int i = dProjectMapper.insertSelectiveBatch(list);
        if(i>0){
            return 1;
        }else{
            return -1;
        }
    }

    @Override
    public int insertBatch(Map<String, Object> maps) {
        return 0;
    }

    @Override
    public List<InfoData> selectInfoDataSelective(DProject dProject) {
        return null;
    }

    @Override
    public List<InfoData> selectInfoDataByPKArr(Integer[] ids) {
        return null;
    }

    @Override
    public List<DProject> selectAll() {
        return null;
    }

    @Override
    public InfoData selectByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public int updateByPrimaryKeySelective(DProject dProject) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(DProject dProject) {
        return 0;
    }
}
